/*
 * @Descripttion:
 * @version:
 * @Author: sueRimn
 * @Date: 2020-10-20 17:48:29
 * @LastEditors: sueRimn
 * @LastEditTime: 2020-11-11 18:15:35
 */
const getters = {
    sidebar: state => state.app.sidebar,
    device: state => state.app.device,
    token: state => state.user.token,
    k_token: state => state.user.k_token,
    avatar: state => state.user.avatar,
    name: state => state.user.name,
    userId: state => state.user.userId,
    sideBarRoles: state => state.user.sideBarRoles,
    pageRoles: state => state.user.pageRoles,
    visitedViews: state => state.tagsView.visitedViews,
    cachedViews: state => state.tagsView.cachedViews,
    institute_id: state => state.user.institute_id,
    permission_routes: state => state.permission.routes

}
export default getters
